/*
* config 配置文件 wuxiaoke
*/
export default class config {
  constructor() {
    this.Filepath = "https://xcximg.juseyun.com/"; //图片、文件地址
    //线上
    if (process.env.NODE_ENV == 'production') {
      this.JuseProduct = 'https://yao.gooeto.com/goodsAPI' // 商品
      this.JuseMember = 'https://yao.gooeto.com/memberAPI/'// 会员
      this.JuseOrder = 'https://yao.gooeto.com/orderAPI/'; //订单相关
      this.JuseSystem = 'https://yao.gooeto.com/systemAPI/' // 系统设置
      this.JuseHomepage = 'https://yao.gooeto.com/mallAPI' // 首页管理
      this.Priviliege = 'https://bms.gooeto.com/permissionAPI'; //权限 角色相关 登陆 注册相关
      this.UploadFile = "https://bms.gooeto.com/fileAPI"; //上传图片、文件
      this.juseLittleTool = 'https://bms.gooeto.com/marketingAPI';//橘色小工具调试接口
      this.wechat = 'https://zhimeile.gooeto.com/api';//小程序
      this.onlineInquiry = 'https://wenzhen.gooeto.com/API'// 在线问诊
      this.paymentOrder = 'https://yao.gooeto.com/payAPI'// 支付订单
      this.applicationCash = 'https://wenzhen.gooeto.com/API'// 提现申请
      this.caseEdit_zml = 'https://www.zmelo.com'  //脂玫乐案例编辑
      this.jusewebsite_gfyy = 'https://www.gufangyiyuan.cn' // 谷方益元官网
      this.consultant_gfyy = 'https://www.gufangyiyuan.cn' //谷方益元咨询顾问
      this.jusewebsite_zml = 'https://www.zmelo.com' // 脂玫乐官网
      this.jusewebsite_gyt = 'https://www.gooeto.com' // 谷医堂官网
      this.healthAftercare='https://hongli.gooeto.com/API' //健康调养
        this.integratedBack = 'https://mback.gooeto.com'//综合平台
        this.integratedBack1 = 'https://bms.gooeto.com/fileAPI'//图片
        this.integratedBack2 = 'https://wenzhen.gooeto.com/API'//问诊
        this.brandManagement="https://yao.gooeto.com/goodsAPI/";//品牌管理
    } else {
        this.brandManagement="https://yaotest.gooeto.com/goodsAPI/";//品牌管理
      this.JuseProduct = 'https://yaotest.gooeto.com/goodsAPI' // 商品
      this.JuseMember = 'https://castest.gooeto.com'// 会员
      this.JuseOrder = 'https://yaotest.gooeto.com/orderAPI'; //订单相关
      this.JuseSystem = 'https://yaotest.gooeto.com/systemAPI' // 系统设置
      this.JuseHomepage = 'https://yaotest.gooeto.com/mallAPI' // 首页管理
      this.wechat = 'https://zhimeiletest.gooeto.com/API';//小程序
      this.Priviliege = 'https://bmstest.gooeto.com/permissionAPI'; //权限 角色相关 登陆 注册相关
      this.UploadFile = "https://bmstest.gooeto.com/fileAPI"; //上传图片、文件
      this.juseLittleTool = 'https://bmstest.gooeto.com/marketingAPI';//橘色小工具调试接口
      this.onlineInquiry = 'https://wenzhentest.gooeto.com/API'// 在线问诊
      this.paymentOrder = 'https://yaotest.gooeto.com/payAPI'// 支付订单
      this.applicationCash = 'https://wenzhentest.gooeto.com/API'// 提现申请
      this.caseEdit_zml = 'https://www.zmelo.com'  //脂玫乐案例编辑
      this.jusewebsite_gfyy = 'https://www.gufangyiyuan.cn' // 谷方益元官网
      this.consultant_gfyy = 'https://www.gufangyiyuan.cn' //谷方益元咨询顾问
      this.jusewebsite_zml = 'https://www.zmelo.com' // 脂玫乐官网
      this.jusewebsite_gyt = 'https://www.gooeto.com' // 谷医堂官网
      this.healthAftercare = 'https://honglitest.gooeto.com' //健康调养
       this.integratedBack = 'https://mtestback.gooeto.com'//综合平台
        this.integratedBack1 = 'https://bmstest.gooeto.com/fileAPI'//图片
        this.integratedBack2 = 'https://wenzhentest.gooeto.com/API'//问诊
    }

    // 本地测试

    // this.JuseProduct = 'http://10.10.10.15:4000';// 商品
    // this.JuseMember = 'http://10.10.10.15:4001';// 会员
    // this.JuseOrder = 'http://10.10.10.15:4003'; //订单相关
    // this.JuseSystem = 'http://10.10.10.15:4004'; // 系统设置
    // this.JuseHomepage = 'http://10.10.10.15:4005'; // 首页管理
    // this.Priviliege = 'http://10.10.10.19:4002'; //权限 角色相关 登陆 注册相关n
    // this.Filepath = "https://xcximg.juseyun.com/"; //图片、文件地址
    // this.UploadFile = "http://10.10.10.15:4007"; //上传图片、文件
    // this.wx_homePage = 'https://xcxmember.juseyx.cn:443'; //微信接口
    // this.juseLittleTool = 'http://192.168.2.73:4400';//橘色小工具调试接口
    // this.wechat = 'http://127.0.0.1:9000';//微信调试接口
    
    // this.caseEdit_zml='http://47.97.17.157:6002' //脂玫乐案例编辑
    // this.consultant_gfyy='http://47.97.17.157:6004' //谷方益元咨询顾问
    // this.jusewebsite_zml = 'http://localhost:6002' // 脂玫乐

    // this.jusewebsite_gyt = 'https://localhost:6003' // 谷医堂官网
    // this.jusewebsite_gfyy = 'http://localhost:6004' // 谷方益元官网

    // this.onlineInquiry = 'http://192.168.2.80:3020'// 在线问诊
    // this.paymentOrder = 'http://192.168.2.149:3800'// 支付订单
    // this.applicationCash = 'http://192.168.2.80:3020'// 提现申请
    //this.healthAftercare='http://192.168.2.107:3008' //健康调养
    //this.healthAftercare='https://honglitest.gooeto.com' //健康调养
  }
} 